|
|
Thorsten Froehlich <tho### [at] trfde> wrote:
: Well, if it suggests a gradient of 400 then your function probably has a
: fairly big max_gradient.
It think there's something odd in the evaluating. I tried with that torus
and got some strange results.
If I do not specify any max_gradient, in MegaPov 'eval' gives 2.514 as the
max_gradient, but in POV3.5 'evaluate 1,10,.99' gives 533! However, rendering
with the former gives a correct result even in POV3.5, so the 533 is obviously
wrong.
If I, however, specify some max_gradient (eg 2.41) then evaluate in POV3.5
gives 2.308, which makes more sense. MegaPov gives also a different
value, in this case 2.312, but still reasonable (although I don't understand
why it gives a different value).
I can post the scene if you want to test.
--
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}// - Warp -
Post a reply to this message
|
|